<div class="popup" [class]='position + " popup"' *ngIf='!_hidden'>
    <div class="popup-content">
        <ng-content></ng-content>
    </div>
    <i class="bg" (click)='popupSwitch(true)' (tap)='toHidden()'></i>
</div>